﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DCT.Model;
using System.Windows;

namespace DCT.ViewModel
{
    public class PlatformViewModel : DeviceBaseViewModel
    {
        #region Constructor

        public PlatformViewModel(PlatformModel pfModel, PlatformGraphModel pfGraphModel)
            : base(pfModel, pfGraphModel)
        {
            if (pfModel == null)
                throw new ArgumentNullException("PlatformModel");

            if (pfGraphModel == null)
                throw new ArgumentNullException("PlatformGraphModel");

            _pfModel = pfModel;
            _pfGraphModel = pfGraphModel;
        }

        #endregion // Constructor

        #region Fields

        PlatformModel _pfModel;
        PlatformGraphModel _pfGraphModel;

        #endregion // Fields

        #region Properties

        public PlatformModel PlatformModel
        {
            get
            {
                return _pfModel;
            }
        }

        public PlatformGraphModel PlatformGraphModel
        {
            get
            {
                return _pfGraphModel;
            }
        }

        public override double DeviceHeight
        {
            get
            {
                return base.DeviceHeight;
            }
        }

        public override double DeviceWidth
        {
            get
            {
                return base.DeviceWidth;
            }
        }

        #endregion //Properties
    }
}
